<?php
namespace app\api\validate;

use app\common\validate\BaseValidate;

class User extends BaseValidate
{
    protected $rule = [
        'code' => 'require|length:32',
    ];

    protected $message = [
        'code.require' => 'code不能为空',
        'code.length' => 'code长度必须为32位',
    ];
}